package batiment;

public class InfosBatiment {

	// private int _niveau;
	private int _nbPointsResistance;
	private int _nbBats;

	public InfosBatiment(int niveau, int pointsResistance, int bats) {
		// this._niveau = niveau;
		this._nbPointsResistance = pointsResistance;
		this._nbBats = bats;
	}

	/*
	 * public int get_niveau() { return _niveau; }
	 * 
	 * public void set_niveau(int _niveau) { this._niveau = _niveau; }
	 */
	public int get_nbPointsResistance() {
		return _nbPointsResistance;
	}

	public void set_nbPointsResistance(int pointsResistance) {
		_nbPointsResistance = pointsResistance;
	}

	public int get_nbBats() {
		return _nbBats;
	}

	public void set_nbBats(int bats) {
		_nbBats = bats;
	}

	public void ajouterBat(int nb) {
		this._nbBats += nb;
	}

}
